Blog

Back

Step 1: Lets get this fucking blog up and running

Posted at 09, Jan, 2025

Step 1 : Lets get this fucking blog up and running

Typically, when it comes to tutorials my first place is youtube. I spent about 1-1.5 hrs watching a few of videos to realize the astro intro documentationwas far superior than all the videos. I didnt waste my time i just spent 1-1.5hrs figuring out where not to look - Me A la Thomas Edision

The turtorials were super in depth . While i had most of the higher level processes started, I needed to continue deeper and start making some sausage .

Astro has a feature page of templates that one can copy. While I looked past the 5th page ( out of 15) I choose the one that I thought would be the quickest to setup. (Narrator’s voice: this is where he fucked up) Necessary components : Node.js and git.

I started in terminal (yes Im a Mac user ) with : npm create astro@lastest -- --template <template name or github repo here>

Looks like I havent set up VScode with Git nor Github . Need to do that

Step 2 : Connect Github repository to Cloudflare Going to create account with Cloudflare pages - which was super easy. watched this 3ish min video which gave the gist of what to do. Cloudflare with the github integration made it super easy to set up.

Looks like I missed a step in naming the repository a “proper name” as Cloudflare would use that to name the domain lol. Hopefully I can change it.

Side note: the template’s README file had a template for frontmatter requirements on markdown files . ( honestly I have no idea why front matter is required anyway, shouldnt it be up to the author to decide what information to include??) Instead of :

title : “insert your title here

they wrote:

description: “insert your title here

This resulted in astro not being able to publish the markdown file and caused a fucking headache…for me. Might message the author for correction. Lession learned : attention to detail or bust .

In the words of Wu tang Clan , “ the saga continues” ..